<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="ISO-8859-1">
<title>Insert title here</title>

	<script type="text/javascript" src="js/jquery-1.11.2.js"></script>
	<script type="text/javascript">
		$(document).ready(function(){
			$("#testJson").click(function(){
				$.post(
					"SpringHandler/testJson",
					//{"name":"zs"}
					function(result){
						for (var i = 0; i < result.length; i++) {
							
						}
					}
				);
			});
		});
	</script>
</head>
<body>

	<input type="button" value="testJson" id="testJson"/>

	<a href="SpringHandler/welcome">get--first mvc</a>
	
	<form action="SpringHandler/welcome" method="post">
		<input name="name">
		<input type="submit" value="post">
	</form>
	<form action="SpringHandler/test/1234" method="post">
		
		<input type="submit" value="增">
	</form>
	
	<br>
		<a href="SpringHandler/ModelAndView">ModelAndView</a>
	<br>
	<br>
		<form action="SpringHandler/testModelAndView">
			姓名:<input name="id" type="test">
			年龄:<input name="age" type="test">
			<input type="submit" value="修改">
		</form>
	<br>
	<br>
		<form action="SpringHandler/testDateFormatting">
			姓名:<input name="name" type="test">
			年龄:<input name="age" type="test">
			出生日期:<input name="birthday" type="test">
			<input type="submit" value="修改">
		</form>
	<br>
	<br>
		<a href="SpringHandler/viewController">viewController</a>
	<br>
	<br>
		<form action="SpringHandler/testFile" method="post" enctype="multipart/form-data">
			文件:<input name="file" type="file">
			描述:<input name="desc" type="test">
			
			<input type="submit" value="上传">
		</form>
	<br>
</body>
</html>